﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GrewalCRM.DAL;
using GrewalCRM.Entities;

namespace GrewalCRM.BLL
{
  public abstract class BaseBLLGrewalCRM
  {
    protected BaseDALGrewalCRM baseDAL;


     #region Constructors
		/// <summary>
		/// Create a new instance using the default constructor
		/// </summary>
    public BaseBLLGrewalCRM()
		{
      
 		}    

  #endregion

   
  #region Protected Methods
    protected abstract int AddNew(BaseEntitiesGrewalCRM Entity);
    protected abstract int Update(BaseEntitiesGrewalCRM Entity);
    protected abstract int Delete(BaseEntitiesGrewalCRM Entity);
    protected abstract List<BaseEntitiesGrewalCRM> GetAll();
    protected abstract BaseEntitiesGrewalCRM GetByID(int ID);
    protected abstract void FillEntity(BaseEntitiesGrewalCRM Entity);
  #endregion
  }
}
